package com.ruoyi.project.channel.vwBusinessCashStat.domain;

import com.ruoyi.project.channel.userLevelConfig.domain.UserLevelConfig;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * VIEW表 vw_business_cash_stat
 * 
 * @author zero
 * @date 2019-05-06
 */
public class VwBusinessCashStat extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 商户编号 */
	private Long businessId;
	private Long parentUserId;
	private String parentUserName;

	@Override
	public Date getCreateTime() {
		return createTime;
	}

	@Override
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getLoginDate() {
		return loginDate;
	}

	public void setLoginDate(Date loginDate) {
		this.loginDate = loginDate;
	}

	private Date createTime;
	private Date loginDate;
	public String getInvitationCode() {
		return invitationCode;
	}

	public void setInvitationCode(String invitationCode) {
		this.invitationCode = invitationCode;
	}

	private String invitationCode;
	private String phonenumber;
	private Long rootUserId;
	private String rootUserName;
	/**  */
	private BigDecimal sjjeSum;
	/**  */
	private BigDecimal feeSum;
	/**  */
	private BigDecimal cashSum;
	/** 商户id */
	private Long userId;
	/** 用户昵称 */
	private String userName;
	/**  */
	private BigDecimal frzzingCash;
	/**  */
	private BigDecimal hasCashSum;
	/**  */
	private BigDecimal amountSum;
	/**  */
	private BigDecimal clickFrzzingCash;
	/**  */
	private BigDecimal incomeCash;
	/**  */
	private BigDecimal finalCash;
	private UserLevelConfig userLevelConfig;
	private int todayTaskNum;// 今日已做任务数
	private int todayClickNum; // 今日已抢单数
	private boolean canDoTask; // 是否可以做任务
	private int todayRemainTaskNum; // 今日剩余任务单数
	private int todayRemainClickNum; // 今日剩余抢单数
	private BigDecimal todayTaskCommission;// 今日任务佣金
	private BigDecimal todayClickCommission;// 今日抢单佣金
	private String firstSum;
	private String secondSum;
	private String thirdSum;
	private String secondParentUserId;
	private String thirdParentUserId;
	private String secondUserName;
	private String thirdUserName;
	private String todayClickIncomeCout;
	private String todayClickIncomeCash;
	private String todayTaskIncomeCout;
	private String todayTaskIncomeCash;
	private BigDecimal todayFirstIncome ; // 今日抢单佣金
	private BigDecimal todaySecondIncome; // 今日抢单佣金
	private BigDecimal todayThirdIncome; // 今日抢单佣金
	private String paySum; // 付款总数
	private String childSum; // 分裂的子用户数

	public String getPauseOrderPrice() {
		return pauseOrderPrice;
	}

	public void setPauseOrderPrice(String pauseOrderPrice) {
		this.pauseOrderPrice = pauseOrderPrice;
	}

	private String pauseOrderPrice;
	public String getBatchTaskIncomeCash() {
		return batchTaskIncomeCash;
	}

	public void setBatchTaskIncomeCash(String batchTaskIncomeCash) {
		this.batchTaskIncomeCash = batchTaskIncomeCash;
	}

	private String batchTaskIncomeCash; // 当前抢单佣金
	public String getSystemWalletAddress() {
		return systemWalletAddress;
	}

	public void setSystemWalletAddress(String systemWalletAddress) {
		this.systemWalletAddress = systemWalletAddress;
	}

	public String getUserWalletAddress() {
		return userWalletAddress;
	}

	public void setUserWalletAddress(String userWalletAddress) {
		this.userWalletAddress = userWalletAddress;
	}

	public String getDaySum() {
		return daySum;
	}

	public void setDaySum(String daySum) {
		this.daySum = daySum;
	}

	private String systemWalletAddress; // 系统分配给用户的收款地址
	private String userWalletAddress; // 用户钱包地址
	private String daySum; // 当前抢单进度

	public BigDecimal getOrderPrice() {
		return orderPrice;
	}

	public void setOrderPrice(BigDecimal orderPrice) {
		this.orderPrice = orderPrice;
	}

	private BigDecimal orderPrice;

	public void setBusinessId(Long businessId) 
	{
		this.businessId = businessId;
	}

	public Long getBusinessId() 
	{
		return businessId;
	}
	public void setSjjeSum(BigDecimal sjjeSum) 
	{
		this.sjjeSum = sjjeSum;
	}

	public BigDecimal getSjjeSum() 
	{
		return sjjeSum;
	}
	public void setFeeSum(BigDecimal feeSum) 
	{
		this.feeSum = feeSum;
	}

	public BigDecimal getFeeSum() 
	{
		return feeSum;
	}
	public void setCashSum(BigDecimal cashSum) 
	{
		this.cashSum = cashSum;
	}

	public BigDecimal getCashSum() 
	{
		return cashSum;
	}
	public void setUserId(Long userId) 
	{
		this.userId = userId;
	}

	public Long getUserId() 
	{
		return userId;
	}
	public void setUserName(String userName) 
	{
		this.userName = userName;
	}

	public String getUserName() 
	{
		return userName;
	}
	public void setFrzzingCash(BigDecimal frzzingCash) 
	{
		this.frzzingCash = frzzingCash;
	}

	public BigDecimal getFrzzingCash() 
	{
		return frzzingCash;
	}
	public void setHasCashSum(BigDecimal hasCashSum) 
	{
		this.hasCashSum = hasCashSum;
	}

	public BigDecimal getHasCashSum() 
	{
		return hasCashSum;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("businessId", getBusinessId())
            .append("sjjeSum", getSjjeSum())
            .append("feeSum", getFeeSum())
            .append("cashSum", getCashSum())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("frzzingCash", getFrzzingCash())
            .append("hasCashSum", getHasCashSum())
            .toString();
    }

	public Long getParentUserId() {
		return parentUserId;
	}

	public void setParentUserId(Long parentUserId) {
		this.parentUserId = parentUserId;
	}

	public String getParentUserName() {
		return parentUserName;
	}

	public void setParentUserName(String parentUserName) {
		this.parentUserName = parentUserName;
	}

	public BigDecimal getAmountSum() {
		return amountSum;
	}

	public void setAmountSum(BigDecimal amountSum) {
		this.amountSum = amountSum;
	}

	public BigDecimal getClickFrzzingCash() {
		return clickFrzzingCash;
	}

	public void setClickFrzzingCash(BigDecimal clickFrzzingCash) {
		this.clickFrzzingCash = clickFrzzingCash;
	}

	public BigDecimal getIncomeCash() {
		return incomeCash;
	}

	public void setIncomeCash(BigDecimal incomeCash) {
		this.incomeCash = incomeCash;
	}

	public BigDecimal getFinalCash() {
		return finalCash;
	}

	public void setFinalCash(BigDecimal finalCash) {
		this.finalCash = finalCash;
	}

	public UserLevelConfig getUserLevelConfig() {
		return userLevelConfig;
	}

	public void setUserLevelConfig(UserLevelConfig userLevelConfig) {
		this.userLevelConfig = userLevelConfig;
	}

	public int getTodayTaskNum() {
		return todayTaskNum;
	}

	public void setTodayTaskNum(int todayTaskNum) {
		this.todayTaskNum = todayTaskNum;
	}

	public int getTodayClickNum() {
		return todayClickNum;
	}

	public void setTodayClickNum(int todayClickNum) {
		this.todayClickNum = todayClickNum;
	}

	public boolean isCanDoTask() {
		return canDoTask;
	}

	public void setCanDoTask(boolean canDoTask) {
		this.canDoTask = canDoTask;
	}

	public int getTodayRemainTaskNum() {
		return todayRemainTaskNum;
	}

	public void setTodayRemainTaskNum(int todayRemainTaskNum) {
		this.todayRemainTaskNum = todayRemainTaskNum;
	}

	public int getTodayRemainClickNum() {
		return todayRemainClickNum;
	}

	public void setTodayRemainClickNum(int todayRemainClickNum) {
		this.todayRemainClickNum = todayRemainClickNum;
	}

	public BigDecimal getTodayTaskCommission() {
		return todayTaskCommission;
	}

	public void setTodayTaskCommission(BigDecimal todayTaskCommission) {
		this.todayTaskCommission = todayTaskCommission;
	}

	public BigDecimal getTodayClickCommission() {
		return todayClickCommission;
	}

	public void setTodayClickCommission(BigDecimal todayClickCommission) {
		this.todayClickCommission = todayClickCommission;
	}

	public String getFirstSum() {
		return firstSum;
	}

	public void setFirstSum(String firstSum) {
		this.firstSum = firstSum;
	}

	public String getSecondSum() {
		return secondSum;
	}

	public void setSecondSum(String secondSum) {
		this.secondSum = secondSum;
	}

	public String getThirdSum() {
		return thirdSum;
	}

	public void setThirdSum(String thirdSum) {
		this.thirdSum = thirdSum;
	}

	public String getSecondParentUserId() {
		return secondParentUserId;
	}

	public void setSecondParentUserId(String secondParentUserId) {
		this.secondParentUserId = secondParentUserId;
	}

	public String getThirdParentUserId() {
		return thirdParentUserId;
	}

	public void setThirdParentUserId(String thirdParentUserId) {
		this.thirdParentUserId = thirdParentUserId;
	}

	public String getSecondUserName() {
		return secondUserName;
	}

	public void setSecondUserName(String secondUserName) {
		this.secondUserName = secondUserName;
	}

	public String getThirdUserName() {
		return thirdUserName;
	}

	public void setThirdUserName(String thirdUserName) {
		this.thirdUserName = thirdUserName;
	}

	public String getTodayClickIncomeCout() {
		return todayClickIncomeCout;
	}

	public void setTodayClickIncomeCout(String todayClickIncomeCout) {
		this.todayClickIncomeCout = todayClickIncomeCout;
	}

	public String getTodayClickIncomeCash() {
		return todayClickIncomeCash;
	}

	public void setTodayClickIncomeCash(String todayClickIncomeCash) {
		this.todayClickIncomeCash = todayClickIncomeCash;
	}

	public String getTodayTaskIncomeCout() {
		return todayTaskIncomeCout;
	}

	public void setTodayTaskIncomeCout(String todayTaskIncomeCout) {
		this.todayTaskIncomeCout = todayTaskIncomeCout;
	}

	public String getTodayTaskIncomeCash() {
		return todayTaskIncomeCash;
	}

	public void setTodayTaskIncomeCash(String todayTaskIncomeCash) {
		this.todayTaskIncomeCash = todayTaskIncomeCash;
	}

	public BigDecimal getTodayFirstIncome() {
		return todayFirstIncome;
	}

	public void setTodayFirstIncome(BigDecimal todayFirstIncome) {
		this.todayFirstIncome = todayFirstIncome;
	}

	public BigDecimal getTodaySecondIncome() {
		return todaySecondIncome;
	}

	public void setTodaySecondIncome(BigDecimal todaySecondIncome) {
		this.todaySecondIncome = todaySecondIncome;
	}

	public BigDecimal getTodayThirdIncome() {
		return todayThirdIncome;
	}

	public void setTodayThirdIncome(BigDecimal todayThirdIncome) {
		this.todayThirdIncome = todayThirdIncome;
	}

	public String getPhonenumber() {
		return phonenumber;
	}

	public void setPhonenumber(String phonenumber) {
		this.phonenumber = phonenumber;
	}

	public Long getRootUserId() {
		return rootUserId;
	}

	public void setRootUserId(Long rootUserId) {
		this.rootUserId = rootUserId;
	}

	public String getRootUserName() {
		return rootUserName;
	}

	public void setRootUserName(String rootUserName) {
		this.rootUserName = rootUserName;
	}

	public String getPaySum() {
		return paySum;
	}

	public void setPaySum(String paySum) {
		this.paySum = paySum;
	}

	public String getChildSum() {
		return childSum;
	}

	public void setChildSum(String childSum) {
		this.childSum = childSum;
	}
}
